package com.wang.springframework.test.bean;

/**
 * @author wangjianhua
 * @Description
 * @date 2021/9/6/006 20:47
 */
public class Wife {

    private Husband husband;

    private IMother mother;

    public String queryHusband(){
        return "Wife.husband.Mother.callMother:"+mother.callMother();
    }

    public Husband getHusband() {
        return husband;
    }

    public void setHusband(Husband husband) {
        this.husband = husband;
    }

    public IMother getMother() {
        return mother;
    }

    public void setMother(IMother mother) {
        this.mother = mother;
    }
}
